package Final;

import ch13.Sort;

/**
 * Created by 春旺 on 2017/10/9.
 */
public class Sort2ClassTest {
    public static void main(String[] args) {
        Comparable [] a = {3,8,12, 34 ,54, 84, 91, 110,2324};
        Sort.bubbleSort(a);

        Comparable [] a1 = {3,8,12, 34 ,54, 84, 91, 110,2324};
        Sort.insertionSort(a1);

        Comparable [] a2 = {3,8,12, 34 ,54, 84, 91, 110,2324};
       Sort.merge(a2,3,54,232);

        Comparable [] a3 = {3,8,12, 34 ,54, 84, 91, 110,2324};
       Sort.selectionSort(a3);

        Comparable [] a4 = {3,8,12, 34 ,54, 84, 91, 110,2324};
       Sort.quickSort(a4,0,8);
    }
}
